@import './_color.scss';

/**{ transition: all .3s }*/

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td,
em,
sup,
label {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

fieldset,
img {
  border: 0;
}

.hide{ display: none!important; }

$_length: 35 !default;
$_default_px: 1px !default;

@for $margin_num from 0 through $_length{
	.m-#{$margin_num} {
		margin: $margin_num * $_default_px;
	}
	.mt-#{$margin_num} {
		margin-top: $margin_num * $_default_px;
	}
	.mb-#{$margin_num} {
		margin-bottom: $margin_num * $_default_px;
	}
	.ml-#{$margin_num} {
		margin-left: $margin_num * $_default_px;
	}
	.mr-#{$margin_num} {
		margin-right: $margin_num * $_default_px;
    }
    .p-#{$margin_num} {
		padding: $margin_num * $_default_px;
	}
	.pt-#{$margin_num} {
		padding-top: $margin_num * $_default_px;
	}
	.pb-#{$margin_num} {
		padding-bottom: $margin_num * $_default_px;
	}
	.pl-#{$margin_num} {
		padding-left: $margin_num * $_default_px;
	}
	.pr-#{$margin_num} {
		padding-right: $margin_num * $_default_px;
	}
	.z-#{$margin_num} {
		z-index: $margin_num;
	}
}


@for $font_size from 12 through $_length{
	.f-#{$font_size}{
		font-size: $font_size * $_default_px;
	}
}

.hover{
	&:hover{
		color: $primary;
	}
}




.relative{ position: relative; }
.absolute{ position: absolute; }
.fixed{ position: fixed; }



.text_left{	text-align: left; }
.text_center{ text-align: center; }
.text_right{ text-align: right; }

.block{ display: block; }

.unselect{user-select: none;}

.h{ height: 100%; }
.vh{ height: 100vh; }

.w{ width: 100%; }
.vw{ width: 100vw; }